<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <base href="<%=basePath%>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>北大青鸟办公自动化管理系统</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
  
  <body>
  <iframe src="head.jsp" width="100%" scrolling="no" frameborder="0" ></iframe>

  <div class="main"><div class="global-width">	
	  <iframe src="nav.jsp" scrolling="no" align="left" width="191px" height="400px"></iframe>
    <div class="action">
    	<div class="t">角色列表</div>
   		<div class="pages">
        	  <table width="90%" border="0" cellspacing="0" cellpadding="0" class="list">
                  <tr bgcolor="yellow">
                    <td>角色</td>
                    <td>修改操作</td>
                    <td>删除操作</td>
                    <td>授权操作</td>
                  </tr>
                  	<s:iterator value="rlist">
                  	<tr>
                    <td><s:property	value="rolename" /> </td>
                    <td><a	href='<s:url action="findSingleRole"><s:param name="role.id" value="id" /></s:url>' target="_top">修改</a></td>
                    <td><a	href='<s:url action="removeRole"><s:param name="role.id" value="id" /></s:url>'	target="_top">删除</a></td>
                    <td><a href='<s:url action="authorization"><s:param name="role.id" value="id" /></s:url>'	target="_top">授权</a> </td>
                  </tr>
                  	</s:iterator>
                  <tr>
                  	<td colspan="4">
                  		<img src="<%=request.getContextPath()%>/images/radio.gif" width="22" height="18" border="0" />
						<a href="<%=request.getContextPath()%>/page/role/newRole.jsp">添加角色</a>
                  	</td>
                  </tr>
                   
                </table>        
       
        </div>
    </div>
</div></div>
 <iframe src="footer.jsp" width="100%" scrolling="no" frameborder="0" ></iframe>
 <s:debug></s:debug>
 <s:property value="mlist.size"/>
  </body>
</html>
